package org.example.commonapi.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.commonapi.domain.StudentClass;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.commonapi.dto.StudentDto;

import java.util.List;

/**
* @author DELL
* @description 针对表【student_class】的数据库操作Mapper
* @createDate 2024-06-02 17:34:49
* @Entity org.example.commonapi.domain.StudentClass
*/
public interface StudentClassMapper extends BaseMapper<StudentClass> {

    void updateStudentClass(@Param("studentId") Long studentId,@Param("classId") Long classId);

    List<StudentDto> listStudent(@Param("classId") Long classId,@Param("username") String username,@Param("no") String no);
}




